package com.dingding.order.dto.myorder;

import java.io.Serializable;
import java.util.Date;

import com.dingding.common.core.util.ToolUtil;

/**
 * @Description:
 * @author fengshuonan
 * @date 2016年9月8日 下午2:08:29
 * @version 叮叮搭车
 * @since 2.4
 */
@SuppressWarnings("serial")
public class SpeCusOrdInfoResult implements Serializable{
	
	private String userAvatar;				//用户头像
	private String userTabloidAvatar;		//用户头像缩略图
	private String userName;				//用户的电话
	private String nickName;				//用户昵称
	
	private String lisencePlate;			//车牌号
	private String vehicleType;				//车辆品牌
	private String vehicleModel;			//车辆的型号
	private String vehicleColor;			//车辆颜色
	
	private String orderId;					//订单id
	private Integer orderStatus;			//订单状态    1:待指派  2:待上车(已指派)  3:已上车  4:待支付(已到达)  5:已完成  6:已取消
	private Date setOutTime;				//出发时间
	private String startAddress;			//出发地
	private String endAddress;				//目的地
	private Double estimateMoney;			//一口价
	
	//生成图片地址
	public void generateImageAddress(){
		this.userAvatar = ToolUtil.imageAddress(userAvatar);
		this.userTabloidAvatar = ToolUtil.imageAddress(userTabloidAvatar);
	}
	
	public String getUserAvatar() {
		return userAvatar;
	}
	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}
	public String getUserTabloidAvatar() {
		return userTabloidAvatar;
	}
	public void setUserTabloidAvatar(String userTabloidAvatar) {
		this.userTabloidAvatar = userTabloidAvatar;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getLisencePlate() {
		return lisencePlate;
	}
	public void setLisencePlate(String lisencePlate) {
		this.lisencePlate = lisencePlate;
	}
	public String getVehicleType() {
		return vehicleType;
	}
	public void setVehicleType(String vehicleType) {
		this.vehicleType = vehicleType;
	}
	public String getVehicleModel() {
		return vehicleModel;
	}
	public void setVehicleModel(String vehicleModel) {
		this.vehicleModel = vehicleModel;
	}
	public String getVehicleColor() {
		return vehicleColor;
	}
	public void setVehicleColor(String vehicleColor) {
		this.vehicleColor = vehicleColor;
	}
	public Date getSetOutTime() {
		return setOutTime;
	}
	public void setSetOutTime(Date setOutTime) {
		this.setOutTime = setOutTime;
	}
	public String getStartAddress() {
		return startAddress;
	}
	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}
	public String getEndAddress() {
		return endAddress;
	}
	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}
	public Double getEstimateMoney() {
		return estimateMoney;
	}
	public void setEstimateMoney(Double estimateMoney) {
		this.estimateMoney = estimateMoney;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	@Override
	public String toString() {
		return "SpeCusOrdInfoResult [userAvatar=" + userAvatar + ", userTabloidAvatar=" + userTabloidAvatar
				+ ", userName=" + userName + ", nickName=" + nickName + ", lisencePlate=" + lisencePlate
				+ ", vehicleType=" + vehicleType + ", vehicleModel=" + vehicleModel + ", vehicleColor=" + vehicleColor
				+ ", orderId=" + orderId + ", orderStatus=" + orderStatus + ", setOutTime=" + setOutTime
				+ ", startAddress=" + startAddress + ", endAddress=" + endAddress + ", estimateMoney=" + estimateMoney
				+ "]";
	}
}
